package com.rc.saas.tenant.vo.enterprise;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.model.enterprise.EnterpriseMemberApply;
import com.rc.saas.tenant.model.enterprise.EnterpriseSubmemberApply;

import java.util.Date;

/**
 * @author frog
 * @date 2021/2/4
 */
public class EnterpriseSubMemberApplyResult extends EnterpriseSubmemberApply {

    @ExcelProperty(value = "注册时间",index = 6)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    @ExcelProperty(value = "最近登陆时间",index = 7)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;

    @ExcelProperty(value = "是否管理员",index = 5)
    private Boolean existUser;

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Boolean getExistUser() {
        return existUser;
    }

    public void setExistUser(Boolean existUser) {
        this.existUser = existUser;
    }
}
